import {requests} from "@/api/request";

export const reqGetLayer = ()=>requests({
    url:"layer/",
    method:"get",
})
export const reqUploadLayer = (layer)=>requests({
    url:"layer/",
    method:"post",
    data:layer,
})
export const reqUpdateLayer = (layer)=>requests({
    url:"layer/",
    method:"put",
    data:layer,
})
export const reqDeleteLayer = (id)=>requests({
    url:"layer/",
    method:"delete",
    data:id,
})